@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  // overflow: hidden;
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0 !important;
}

.padding-content {
  padding: 4px 0;
}

.no-select{
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 20px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

//simple-dialog
.simple-dialog {
  .el-dialog {
    .el-dialog__body {
      padding: 10px 20px !important;
    }
    .el-dialog__footer{
      padding: 10px 20px !important;
    }
  }
}

//el-message提示宽度
.el-message{
  width: auto !important;
  min-width: auto !important;
  padding: 8px 16px !important;
}

body .el-table th.gutter{
  display: table-cell!important;
}

body .el-table colgroup.gutter{
  display: table-cell!important;
}
.el-table .warning-row {
background: oldlace;
}

.el-table .success-row {
background: #f0f9eb;
} 
.el-table th>.cell{
  font-size: 14px;
}
.el-table th{
  background:#f8f8f8 !important;
}
 .el-table--enable-row-transition .el-table__body td{
  font-size: 14px;
}
.el-table--enable-row-transition .el-table__body tr:nth-child(2n){
  background:#f7fcff;
}
.pagination-container{
  text-align: right;
}
.el-scrollbar__view,.el-card  {
  height: 100%;
  overflow: auto !important;
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
::-webkit-scrollbar{
  width: 7px;
  height: 7px;
  background-color: #F5F5F5;
}

/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
}

/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb{
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
  background-color: #c8c8c8;
}

.draw-main .van-dialog__confirm,.draw-main .van-dialog__cancel  {
  background: #f1d7fc;
  color: #333;
}
.van-dialog__content{
  max-height: 500px;
  overflow: auto;
}
.h-main{
  width: 100%;
  padding-top: 65px;
  // background-image: url('../assets/h5/bg.png'); 
  background: #5912a0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  text-align: center;
  min-height: 100%;
  background-size: cover;
  position: absolute;
  overflow: hidden;
}
.card-button{
  background: #f1d7fc;
  letter-spacing: 5px;
  font-weight: 600;
  color: #5812a9;
  text-align: center;
  line-height: 50px;
  width: 70%;
  border-radius: 10px;
  margin: 15px auto;
} 
.card-button-border{
  border-radius: 80px;
  height: 80px;
  width: 80px;
  line-height: 80px;
  background: #f1d7fc;
  text-align: center;
  color: #5812a9;
  margin: 40% auto;
}
.card-button-border:active,.card-button:active{
  background: #d7a8eb;
}
.card-button-img:active{
  opacity: 0.8;
}
.h-input .el-input__inner{
  background: #f1d7fc;
  border-radius: 10px;
  margin: 10px 0;
  height: 42px !important;
  font-size: 15px;
  // text-align: center;
  color: #5812a9 !important;
  border-bottom-right-radius: 10px !important;
  border-top-right-radius: 10px !important;
}
.h-label{
  color: #f1d7fc;
  width: 100%;
  text-align: left;

}
.h-form{
  width: 70%;
  margin: 50px auto;
}
.h-spacing{
  letter-spacing: 3px;
  margin-right: 6px;
}
.h-input .el-input-group__append{
  display: inline-block;
  height: 42px;
  position: absolute;
  right: 0;
  top: 10px;
  line-height: 42px;
  font-size: 17px;
  border-radius: 10px;
  text-align: center;
  width: 50px;
  color: #5812a9 !important;
}
 
.main-page .el-descriptions-item__label,.main-page1 .el-descriptions-item__label{
  min-width: 110px;
  width: 110px;
  color: #333;
}
.main-page .el-descriptions-item__content{
  width: 40%;
}
.main-page1 .el-descriptions-item__content{
  width: 90%;
}